package com.ygqh.baby.mapper;

import com.ygqh.baby.po.WxCustomMsgDetail;
import com.ygqh.baby.po.WxCustomMsgDetailExample;
import com.ygqh.baby.ao.QueryInfo;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface WxCustomMsgDetailMapper {
	int countByExample(WxCustomMsgDetailExample example);

	int deleteByExample(WxCustomMsgDetailExample example);

	int deleteByPrimaryKey(Long id);

	int insert(WxCustomMsgDetail record);

	int insertSelective(WxCustomMsgDetail record);

	List<WxCustomMsgDetail> selectByExample(WxCustomMsgDetailExample example);

	WxCustomMsgDetail selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") WxCustomMsgDetail record, @Param("example") WxCustomMsgDetailExample example);

	int updateByExample(@Param("record") WxCustomMsgDetail record, @Param("example") WxCustomMsgDetailExample example);

	int updateByPrimaryKeySelective(WxCustomMsgDetail record);

	int updateByPrimaryKey(WxCustomMsgDetail record);

	int countSuper(@Param("q") String q, @Param("startDate") Date startDate, @Param("endDate") Date endDate);

	List<WxCustomMsgDetail> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q, @Param("startDate") Date startDate,
			@Param("endDate") Date endDate);

	void updateStatus(@Param("sendDate") Date sendDate);

}
